/* 全局样式 */
body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f4f4f9;
  color: #333;
}

/* 页眉样式 */
header {
  background-color: #003366;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ffcc00;
}

/* 横幅样式 */
#banner {
  position: relative;
}

#banner img {
  width: 100%;
  height: auto;
}

#banner li {
  display: inline-block;
  margin: 0 10px;
  list-style: none;
}

#banner li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s;
}

#banner li a:hover {
  color: #0066cc;
}

/* 主体内容 */
main {
  padding: 20px;
}

main h2 {
  color: #003366;
  font-size: 20px;
  margin-top: 20px;
}

main p {
  margin: 10px 0;
  text-align: justify;
}

#图文列表 article {
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#图文列表 article img {
  margin-top: 10px;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* 页脚样式 */
footer {
  background: #003366;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer h2 {
  font-size: 18px;
  margin: 10px 0;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin: 5px 0;
}

footer ul li a {
  text-decoration: none;
  color: #ffcc00;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #fff;
}

footer p {
  margin: 15px 0 0;
  font-size: 14px;
}

/* 适配手机的响应式布局 */
@media (max-width: 768px) {
  header nav ul {
      flex-direction: column;
  }

  header nav ul li {
      margin: 10px 0;
  }

  #banner li {
      display: block;
      margin-bottom: 10px;
  }

  main {
      padding: 10px;
  }

  footer {
      font-size: 14px;
  }
}

  